

'use strict';
const express=require('express');
const path=require('path');
const stu_indentRouter=express.Router();
const stu_indentCtrl=require(path.join(__dirname,"../controllers/stu_indentCtroller.js"));

// 去到反馈界面

stu_indentRouter.get('/ind_add',stu_indentCtrl.indeAdd);

// 去到数据提交页面

stu_indentRouter.post('/ind_add',stu_indentCtrl.indeAddData);


stu_indentRouter.get('/ind_list',stu_indentCtrl.indeList);


stu_indentRouter.get('/ind_edite/:message_id',stu_indentCtrl.indEdite);

stu_indentRouter.post('/ind_edite/:message_id',stu_indentCtrl.indEditeData);

stu_indentRouter.get('/ind_delete/:message_id',stu_indentCtrl.indDelete);


module.exports=stu_indentRouter;

